<!--
 * @Author: windys
 * @Description: 
 * @Date: 2021-12-11 11:15:53
-->
<template>
    <div class="card_container">
        <div class="icon">
            <slot name="icon">1</slot>
        </div>
        <div class="content">
            <span class="title">
                <slot name="title">title</slot>
            </span>
            <span class="total">
                <slot name="total">12000</slot>
            </span>
        </div>
    </div>
</template>


<script lang="ts">
import { defineComponent } from 'vue'

export default defineComponent({
    setup() {

    },
})
</script>



<style lang="scss" scoped>
.card_container {
    height: 108px;
    cursor: pointer;
    font-size: 12px;
    position: relative;
    overflow: hidden;
    color: #666;
    background: #fff;
    -webkit-box-shadow: 4px 4px 40px rgb(0 0 0 / 5%);
    box-shadow: 4px 4px 40px rgb(0 0 0 / 5%);
    border-color: rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: row;
    .icon {
        width: 50%;
        font-size: 40px !important;
        line-height: 108px;
        text-align: center;
    }
    .content {
        width: 50%;
        text-align: right;
        display: flex;
        flex-direction: column;
        padding-right: 25px;
        padding-top: 20px;
        .title {
            line-height: 18px;
            color: rgba(0, 0, 0, 0.45);
            font-size: 16px;
            margin-bottom: 12px;
        }
        .total {
            font-size: 20px;
        }
    }
}
</style>